if(-not (test-path "c:\log\abc"))
{
    new-item -itemtype Directory "c:\log\abc"
}